Battery charger using a constant current dc to dc boost converter